package com.pubinfo.passbook.common.service.contract.impl;


import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pubinfo.passbook.common.entity.TContractProjectCostItems;
import com.pubinfo.passbook.common.mapper.TContractProjectCostItemsMapper;
import com.pubinfo.passbook.common.model.dto.contract.ContractIdParam;
import com.pubinfo.passbook.common.model.vo.contract.TContractProjectCostItemsVo;
import com.pubinfo.passbook.common.service.contract.TContractProjectCostItemsService;
import com.pubinfo.passbook.common.mapper.TContractProjectCostItemsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author catho
 * @description 针对表【t_contract_project_cost_items】的数据库操作Service实现
 * @createDate 2021-12-07 09:03:06
 */
@Service
public class TContractProjectCostItemsServiceImpl extends ServiceImpl<TContractProjectCostItemsMapper, TContractProjectCostItems> implements TContractProjectCostItemsService {
    //wbs成本冲销
    @Override
    public List<TContractProjectCostItemsVo> getProjectCostList(ContractIdParam param) {
        return this.baseMapper.getProjectCostList(param.getContractId());
    }
}
